package com.nandi.emergencyinspection.mvp.macro

import com.nandi.emergencyinspection.bean.MacroDictBean
import com.nandi.emergencyinspection.bean.MacroListBean
import com.nandi.emergencyinspection.bean.MacroPostBean
import com.tbright.ktbaselibrary.mvp.BaseModel
import com.tbright.ktbaselibrary.mvp.BasePresenter
import com.tbright.ktbaselibrary.mvp.BaseView

interface MacroSaveContract {

    abstract class MacroSavePresenter : BasePresenter<BaseModel, MacroSaveView>() {
        abstract fun getMacro()
        abstract fun getMacroDict()
        abstract fun postMacroDict(map: MacroPostBean)
    }

    interface MacroSaveView : BaseView {
        fun showMacroResult(result: MacroListBean?)
        fun showMacroDictResult(result: MutableList<MacroDictBean>?)
        fun showPostMacroResult(result: String?)
    }
}